//
// RootFS.h
// Usage: Root file system
// CreateDate: 2009-05-06
// Author: MaJiuyue
//
#ifndef _ROOTFS_H_
#define _ROOTFS_H_

#include "FileSystem.h"
#include "File.h"
#include "Directory.h"

class RootFS : public FileSystem
{
public:
	RootFS();
	virtual ~RootFS();

public:
	virtual int read(u32 inode, off_t off, size_t size, addr_t buf);
	virtual int write(u32 inode, off_t off, size_t size, addr_t buf);
	virtual File * TraversalPath(Directory *target, const char *path);
};

#endif

